include(FetchContent)
FetchContent_Declare(
  googlebenchmark
  GIT_REPOSITORY https://github.com/google/benchmark.git
  GIT_TAG master
  SOURCE_DIR ${CMAKE_BINARY_DIR}/third_party)
FetchContent_MakeAvailable(googlebenchmark)
include_directories(${CMAKE_SOURCE_DIR}/algorithm/include)
file(GLOB BENCHMARK_SRC src/*.cc)
message("======>${gtest_force_shared_crt}")
set(BENCHMARK_ALL benchmark_all)
add_executable(${BENCHMARK_ALL} ${BENCHMARK_SRC})
target_link_libraries(${BENCHMARK_ALL} benchmark::benchmark algorithm_single)
